package com.gba.mark.labelResult.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("label_result")
public class LabelResult implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    //主键
    private Integer id;

    //用户标注结果
    private String result;

    //标注该语料的用户id
    private Integer userId;

    //原语料的id
    private Integer originId;

    //标注的时间
    private Date post_date;

}
